﻿@using ToyStore.Domain.Store;
@using MvcContrib;

@model IEnumerable<Category>
<div class="whiteBorder"><div class="leftMenuHeader">Kategorie</div></div>

@foreach (Category c in Model)
{
    <div class="leftMenuItem">
        <div class="categotyMenuItem"><span class="pull-left">(@c.Products.Count)</span> <span>@(Html.ActionLink<ProductController>(x => x.GetProductsByCategory(c.Id,1,6, EnumSortType.None),c.Name))</span></div>
        <div class="leftMenuSeparator"></div>
    </div>
}
